package model

import (
	"OJCenter/client"
	"OJCenter/dao"
)

type Model struct {
	*dao.Dao
	*client.Client
}

func NewModel(c *client.Client, d *dao.Dao) (model *Model, err error) {
	return &Model{
		d,
		c,
	}, nil
}
